package com.vastcom.demo.service;

import com.vastcom.demo.model.Carousel;
import com.vastcom.demo.model.Singlepage;

import java.util.List;

public interface ManageService {

    Singlepage saveSinglepage(Singlepage singlepage);
    boolean deleteSinglepage(String id);
    Singlepage getSinglepage(String id);
    List<Singlepage> getSinglepageList();

    //轮播增删查改
    Carousel saveCarousel(Carousel carousel);
    boolean deleteCarousel(String id);
    Carousel getCarousel(String id);
    List<Carousel> getCarouselList();

    String getCurrentUserId();  //从令牌环中获取userid
    String getCurrentRole();    //从令牌环中获取角色id


}
